<template>
    <div class="b-img">
        <div class="r-line line-1"></div>
        <div class="r-line line-2"></div>
        <div class="r-line line-3"></div>
    </div>
</template>

<style lang="less" scoped>
.b-img {
    margin-left: 4px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 18px;
    height: 16px;

    .r-line {
        height: 100%;
        width: 23.2%;
        background: #f6475d;
        animation: glow 1.8s linear;
        animation-iteration-count: infinite;
    }

    .line-1 {
        animation-delay: 0.2s;
    }

    .line-2 {
        animation-delay: 0.6s;
    }

    .line-3 {
        animation-delay: 0.8s;
    }
}

@keyframes glow {
    0% {
        height: 20%;
    }

    40% {
        height: 100%;
    }

    60% {
        height: 100%;
    }

    100% {
        height: 20%;
    }
}
</style>
